﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000FC7 RID: 4039
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueReviveInfo : IMessage<RogueReviveInfo>, IMessage, IEquatable<RogueReviveInfo>, IDeepCloneable<RogueReviveInfo>, IBufferMessage
	{
		// Token: 0x1700331A RID: 13082
		// (get) Token: 0x0600B4BE RID: 46270 RVA: 0x001E797F File Offset: 0x001E5B7F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueReviveInfo> Parser
		{
			get
			{
				return RogueReviveInfo._parser;
			}
		}

		// Token: 0x1700331B RID: 13083
		// (get) Token: 0x0600B4BF RID: 46271 RVA: 0x001E7986 File Offset: 0x001E5B86
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueReviveInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700331C RID: 13084
		// (get) Token: 0x0600B4C0 RID: 46272 RVA: 0x001E7998 File Offset: 0x001E5B98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueReviveInfo.Descriptor;
			}
		}

		// Token: 0x0600B4C1 RID: 46273 RVA: 0x001E799F File Offset: 0x001E5B9F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueReviveInfo()
		{
		}

		// Token: 0x0600B4C2 RID: 46274 RVA: 0x001E79B4 File Offset: 0x001E5BB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueReviveInfo(RogueReviveInfo other) : this()
		{
			this.hONNEKKCDAB_ = other.hONNEKKCDAB_;
			this.dDFABECFCLI_ = other.dDFABECFCLI_;
			this.rogueReviveCost_ = ((other.rogueReviveCost_ != null) ? other.rogueReviveCost_.Clone() : null);
			this.oBLFFICKCJL_ = other.oBLFFICKCJL_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B4C3 RID: 46275 RVA: 0x001E7A1D File Offset: 0x001E5C1D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueReviveInfo Clone()
		{
			return new RogueReviveInfo(this);
		}

		// Token: 0x1700331D RID: 13085
		// (get) Token: 0x0600B4C4 RID: 46276 RVA: 0x001E7A25 File Offset: 0x001E5C25
		// (set) Token: 0x0600B4C5 RID: 46277 RVA: 0x001E7A2D File Offset: 0x001E5C2D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HONNEKKCDAB
		{
			get
			{
				return this.hONNEKKCDAB_;
			}
			set
			{
				this.hONNEKKCDAB_ = value;
			}
		}

		// Token: 0x1700331E RID: 13086
		// (get) Token: 0x0600B4C6 RID: 46278 RVA: 0x001E7A36 File Offset: 0x001E5C36
		// (set) Token: 0x0600B4C7 RID: 46279 RVA: 0x001E7A3E File Offset: 0x001E5C3E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DDFABECFCLI
		{
			get
			{
				return this.dDFABECFCLI_;
			}
			set
			{
				this.dDFABECFCLI_ = value;
			}
		}

		// Token: 0x1700331F RID: 13087
		// (get) Token: 0x0600B4C8 RID: 46280 RVA: 0x001E7A47 File Offset: 0x001E5C47
		// (set) Token: 0x0600B4C9 RID: 46281 RVA: 0x001E7A4F File Offset: 0x001E5C4F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemCostData RogueReviveCost
		{
			get
			{
				return this.rogueReviveCost_;
			}
			set
			{
				this.rogueReviveCost_ = value;
			}
		}

		// Token: 0x17003320 RID: 13088
		// (get) Token: 0x0600B4CA RID: 46282 RVA: 0x001E7A58 File Offset: 0x001E5C58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> OBLFFICKCJL
		{
			get
			{
				return this.oBLFFICKCJL_;
			}
		}

		// Token: 0x0600B4CB RID: 46283 RVA: 0x001E7A60 File Offset: 0x001E5C60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueReviveInfo);
		}

		// Token: 0x0600B4CC RID: 46284 RVA: 0x001E7A70 File Offset: 0x001E5C70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueReviveInfo other)
		{
			return other != null && (other == this || (this.HONNEKKCDAB == other.HONNEKKCDAB && this.DDFABECFCLI == other.DDFABECFCLI && object.Equals(this.RogueReviveCost, other.RogueReviveCost) && this.oBLFFICKCJL_.Equals(other.oBLFFICKCJL_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B4CD RID: 46285 RVA: 0x001E7AE4 File Offset: 0x001E5CE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.HONNEKKCDAB != 0U)
			{
				num ^= this.HONNEKKCDAB.GetHashCode();
			}
			if (this.DDFABECFCLI != 0U)
			{
				num ^= this.DDFABECFCLI.GetHashCode();
			}
			if (this.rogueReviveCost_ != null)
			{
				num ^= this.RogueReviveCost.GetHashCode();
			}
			num ^= this.oBLFFICKCJL_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B4CE RID: 46286 RVA: 0x001E7B60 File Offset: 0x001E5D60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B4CF RID: 46287 RVA: 0x001E7B68 File Offset: 0x001E5D68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B4D0 RID: 46288 RVA: 0x001E7B74 File Offset: 0x001E5D74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.oBLFFICKCJL_.WriteTo(ref output, RogueReviveInfo._repeated_oBLFFICKCJL_codec);
			if (this.DDFABECFCLI != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.DDFABECFCLI);
			}
			if (this.HONNEKKCDAB != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.HONNEKKCDAB);
			}
			if (this.rogueReviveCost_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.RogueReviveCost);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B4D1 RID: 46289 RVA: 0x001E7BFC File Offset: 0x001E5DFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.HONNEKKCDAB != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HONNEKKCDAB);
			}
			if (this.DDFABECFCLI != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DDFABECFCLI);
			}
			if (this.rogueReviveCost_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueReviveCost);
			}
			num += this.oBLFFICKCJL_.CalculateSize(RogueReviveInfo._repeated_oBLFFICKCJL_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B4D2 RID: 46290 RVA: 0x001E7C80 File Offset: 0x001E5E80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueReviveInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.HONNEKKCDAB != 0U)
			{
				this.HONNEKKCDAB = other.HONNEKKCDAB;
			}
			if (other.DDFABECFCLI != 0U)
			{
				this.DDFABECFCLI = other.DDFABECFCLI;
			}
			if (other.rogueReviveCost_ != null)
			{
				if (this.rogueReviveCost_ == null)
				{
					this.RogueReviveCost = new ItemCostData();
				}
				this.RogueReviveCost.MergeFrom(other.RogueReviveCost);
			}
			this.oBLFFICKCJL_.Add(other.oBLFFICKCJL_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B4D3 RID: 46291 RVA: 0x001E7D0D File Offset: 0x001E5F0D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B4D4 RID: 46292 RVA: 0x001E7D18 File Offset: 0x001E5F18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 26U)
				{
					if (num == 24U || num == 26U)
					{
						this.oBLFFICKCJL_.AddEntriesFrom(ref input, RogueReviveInfo._repeated_oBLFFICKCJL_codec);
						continue;
					}
				}
				else
				{
					if (num == 40U)
					{
						this.DDFABECFCLI = input.ReadUInt32();
						continue;
					}
					if (num == 80U)
					{
						this.HONNEKKCDAB = input.ReadUInt32();
						continue;
					}
					if (num == 122U)
					{
						if (this.rogueReviveCost_ == null)
						{
							this.RogueReviveCost = new ItemCostData();
						}
						input.ReadMessage(this.RogueReviveCost);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040048FE RID: 18686
		private static readonly MessageParser<RogueReviveInfo> _parser = new MessageParser<RogueReviveInfo>(() => new RogueReviveInfo());

		// Token: 0x040048FF RID: 18687
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004900 RID: 18688
		public const int HONNEKKCDABFieldNumber = 10;

		// Token: 0x04004901 RID: 18689
		private uint hONNEKKCDAB_;

		// Token: 0x04004902 RID: 18690
		public const int DDFABECFCLIFieldNumber = 5;

		// Token: 0x04004903 RID: 18691
		private uint dDFABECFCLI_;

		// Token: 0x04004904 RID: 18692
		public const int RogueReviveCostFieldNumber = 15;

		// Token: 0x04004905 RID: 18693
		private ItemCostData rogueReviveCost_;

		// Token: 0x04004906 RID: 18694
		public const int OBLFFICKCJLFieldNumber = 3;

		// Token: 0x04004907 RID: 18695
		private static readonly FieldCodec<uint> _repeated_oBLFFICKCJL_codec = FieldCodec.ForUInt32(26U);

		// Token: 0x04004908 RID: 18696
		private readonly RepeatedField<uint> oBLFFICKCJL_ = new RepeatedField<uint>();
	}
}
